package com.fhxin.cloud.login.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.xml.ws.RespectBinding;

@Controller
@RequestMapping("/login")
public class LoginController {
    @RequestMapping("/login")
    public String loginPage(){
        return "login/loginPage";
    }
    @RequestMapping("/main")
    public String mainPage(){
        return "redirect:/";
    }
}
